import os
# from flask_script import Manager
from App import create_app



env = os.environ.get("FLASK_ENV", "develop")               # 可以根据环境变量获取config
app = create_app(env)
# manager = Manager(app=app)


if __name__ == '__main__':
    # manager.run()
    app.run(host="0.0.0.0",port=5000)
